Add gtk_status_icon_get_screen and gtk_status_icon_set_screen.
authorTor Lillqvist <tml@novell.com>
Wed, 27 Dec 2006 18:20:10 +0000 (18:20 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 27 Dec 2006 18:20:10 +0000 (18:20 +0000)
commitcc89cf541f90ff2497dfbb4c3193a6ea87817b67
treec4bea5af8897588eaa701a19a9024fb15063e83d
parent6d9dac29d0a9151d54822b8c27a72749149ef40b
Add gtk_status_icon_get_screen and gtk_status_icon_set_screen.

2006-12-27  Tor Lillqvist  <tml@novell.com>

* gtk/gtk.symbols: Add gtk_status_icon_get_screen and
gtk_status_icon_set_screen.

* gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
on Windows. Keep track of where the last button click on the
taskbar icon took place, and return that. Obviously not correct if
no button has ever been clicked on the icon, or if the geometry of
the taskbar has changed since. But for most use cases where a menu
is going to be displayed as a direct result of a button click on
the status icon, works fine. (#377349)

Implement getting the orientation property on Windows.

(gtk_status_icon_embedded_changed)
(gtk_status_icon_orientation_changed): Ifdefify these functions
that are used only on X11.
ChangeLog
gtk/gtk.symbols
gtk/gtkstatusicon.c